package com.hzncc.flowable_diboot.custom_field.exception;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class CustomTableException extends RuntimeException{
    private Integer code;

    private String message;

    public CustomTableException(String message){
        this.message = message;
    }

    public CustomTableException(Throwable e) {
        super(e);
    }
}
